package com.cp.service;

import com.cp.repository.AdjudgmentRelationWord;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

@CacheConfig(cacheNames = "adjudgmentRelationWordCache")
public interface AdjudgmentRelationWordService {

	@Cacheable
	List<AdjudgmentRelationWord> getByConvictionId(Integer convictionId);
}
